package com.ledi.guns.common.persistence.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.annotations.Version;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * </p>
 *
 * @author zhongxp
 * @since 2018-07-04
 */
@TableName("t_feedback")
public class Feedback extends Model<Feedback> {

	private static final long serialVersionUID = 1L;

	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;
	/**
	 * 反馈类型
	 */
	private Integer type;
	/**
	 * 反馈内容
	 */
	private String content;
	@TableField("is_delete")
	private Integer isDelete;
	@TableField("create_time")
	private Date createTime;
	@TableField("creator_id")
	private Integer creatorId;
	@TableField("update_time")
	private Date updateTime;
	@TableField("updater_id")
	private Integer updaterId;
	/**
	 * 联系方式
	 */
	private String contact;

	/**
	 * 反馈人
	 */
	private String creatorName;
	/**
	 * 处理结果
	 */
	private String idea;
	/**
	 * 0未完成1已完成
	 */
	private Integer status;

	@Version
	@TableField("version_no")
	private Integer versionNo;

	/**
	 * 角色id
	 */
	private Integer roleId;

	/**
	 * 添加人
	 */
	private String addMan;

	/**
	 * 更新人
	 */
	private String updateName;

	public Integer getId() {

		return id;
	}

	public void setId(Integer id) {

		this.id = id;
	}

	public Integer getType() {

		return type;
	}

	public void setType(Integer type) {

		this.type = type;
	}

	public String getContent() {

		return content;
	}

	public void setContent(String content) {

		this.content = content;
	}

	public Integer getIsDelete() {

		return isDelete;
	}

	public void setIsDelete(Integer isDelete) {

		this.isDelete = isDelete;
	}

	public Date getCreateTime() {

		return createTime;
	}

	public void setCreateTime(Date createTime) {

		this.createTime = createTime;
	}

	public Integer getCreatorId() {

		return creatorId;
	}

	public void setCreatorId(Integer creatorId) {

		this.creatorId = creatorId;
	}

	public Date getUpdateTime() {

		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {

		this.updateTime = updateTime;
	}

	public Integer getUpdaterId() {

		return updaterId;
	}

	public void setUpdaterId(Integer updaterId) {

		this.updaterId = updaterId;
	}

	public Integer getStatus() {

		return status;
	}

	public void setStatus(Integer status) {

		this.status = status;
	}

	@Override
	protected Serializable pkVal() {

		return id;
	}

	public String getIdea() {

		return idea;
	}

	public void setIdea(String idea) {

		this.idea = idea;
	}

	public String getContact() {

		return contact;
	}

	public void setContact(String contact) {

		this.contact = contact;
	}

	public String getCreatorName() {

		return creatorName;
	}

	public void setCreatorName(String creatorName) {

		this.creatorName = creatorName;
	}

	public Integer getVersionNo() {

		return versionNo;
	}

	public void setVersionNo(Integer versionNo) {

		this.versionNo = versionNo;
	}

	public Integer getRoleId() {

		return roleId;
	}

	public void setRoleId(Integer roleId) {

		this.roleId = roleId;
	}

	public String getAddMan() {

		return addMan;
	}

	public void setAddMan(String addMan) {

		this.addMan = addMan;
	}

	public String getUpdateName() {

		return updateName;
	}

	public void setUpdateName(String updateName) {

		this.updateName = updateName;
	}

}
